@import './../../lib/reset.scss';

// 轮播图
.banner{
  height: 1.4rem;
}

.subject{
  padding-left: 0.15rem;
  height:0.28rem;
  font-size:0.14rem;
  font-weight:bold;
  color:rgba(51,51,51,1);
  line-height:0.28rem;
  margin-top: 0.15rem;
}
.docs {
    height: auto;
    width: 100%;
    // margin: 0 0 0.1rem 0.15rem;
    overflow: auto;
    display: flex;
    margin-bottom: 0.25rem;
    .video{
      width: 1.48rem;
      height:auto;
      border-radius: 10px;
      margin-left: 0.1rem;  
      flex-shrink: 0;
      }
      .time{
        position: absolute;
        right: 0;
        bottom: 0.1rem;
        width: 0.36rem;
        height: 0.15rem;
      }
      p{
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden; 
        text-overflow: ellipsis;
        display: -webkit-box;
        height: auto;
      }
  }

  .home{
    width: 100%;
    height: auto;
    padding: 0 0.15rem;
    // border-bottom: 1px solid red;
    .home1{
      display: flex;
      margin-bottom: 0.15rem;
    }
    .videolook{
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-bottom: 0.25rem;
      .videoitem{
        width: 1.65rem;
        height: auto;
        border-radius: 10px;
        flex-shrink: 0;
        .itemtime{
          position: absolute;
          right: 0;
          bottom: 0.1rem;
          // width: 0.36rem;
          height: 0.15rem;
        }
        p{
          -webkit-line-clamp:2;
          -webkit-box-orient:vertical;
          overflow:hidden; 
          text-overflow: ellipsis;
          display: -webkit-box;
          height: auto;
        }
      }
    }
  }

  .avatar{
    display: flex;
    width: 100%;
    height: 0.72rem;
    align-items: center;
    padding: 0 0.15rem;
    margin-bottom: 0.12rem;
    border-bottom: 1px dashed #ccc;
    img{
      border-radius: 50%;
      margin-right: 0.1rem;
      width: 0.425rem;
      height: 0.425rem;
    }
    p{
      font-size: 0.12rem;
      font-weight: 600;
    }
    span{
      @include font-size(0.12rem);
      opacity: 0.8;
      @include color(rgba(102,102,102,1));
    }
  }

  .answer {
    @include rect(100%, 0.25rem);
    padding: 0 0.17rem 0 0.15rem;
    margin-bottom: 0.15rem;
    @include flexbox();
    @include align-items();
    @include justify-content(space-between);
    position: relative;
    img{
      @include rect(0.25rem,0.25rem);
      border: none;
    }
    input{
      @include rect(3.1rem , 0.25rem);
      outline: none;
      border: none;
      background-color: #ccc;
      border-radius: 0.125rem;
      padding-left: 0.15rem;
      font-size: 0.06rem;
      line-height: 0.25rem;
      box-sizing: border-box;
    }
  }

